package com.nuoniu.sibanyun.service.crm.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.nuoniu.sibanyun.entity.crm.CrmCollect;
import com.nuoniu.sibanyun.mapper.crm.CrmCollectMapper;
import com.nuoniu.sibanyun.service.crm.ICrmCollectService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 收藏客户记录 服务实现类
 * </p>
 *
 * @author baiqiang
 * @since 2020-06-20
 */
@Service
public class CrmCollectServiceImpl extends ServiceImpl<CrmCollectMapper, CrmCollect> implements ICrmCollectService {

    @Override
    public List<CrmCollect> findList(CrmCollect collect) {
        QueryWrapper<CrmCollect> wrapper = new QueryWrapper<>(collect);
        return list(wrapper);
    }
}
